<!-- Most of the fields in this form have invalid autocomplete attributes. -->
<form action="autocompletetype.html" method="post">
  <!-- Valid field (sanity check) -->
  <input id="valid-pre-garbage" autocomplete="email"><br>
  <!-- Garbage (a.k.a. unrecognized) tokens should cause parsing to fail. -->
  <input autocomplete="garbage"><br>
  <input autocomplete="garbage email"><br>
  <input autocomplete="email garbage"><br>
  <input autocomplete="garbage shipping email"><br>
  <input autocomplete="shipping garbage email"><br>
  <input autocomplete="shipping email garbage"><br>
  <input autocomplete="garbage section-foo email"><br>
  <input autocomplete="section-foo garbage email"><br>
  <input autocomplete="section-foo email garbage"><br>
  <input autocomplete="garbage work email"><br>
  <input autocomplete="work garbage email"><br>
  <input autocomplete="work email garbage"><br>
  <input autocomplete="garbage section-foo shipping email"><br>
  <input autocomplete="section-foo garbage shipping email"><br>
  <input autocomplete="section-foo shipping garbage email"><br>
  <input autocomplete="section-foo shipping email garbage"><br>
  <input autocomplete="garbage section-foo shipping work email"><br>
  <input autocomplete="section-foo garbage shipping work email"><br>
  <input autocomplete="section-foo shipping garbage work email"><br>
  <input autocomplete="section-foo shipping work garbage email"><br>
  <input autocomplete="section-foo shipping work email garbage"><br>
  <!-- Valid field (sanity check) -->
  <input id="valid-pre-order" autocomplete="email"><br>
  <!-- Order matters. -->
  <input autocomplete="email work"><br>
  <input autocomplete="email shipping"><br>
  <input autocomplete="email section-foo"><br>
  <input autocomplete="shipping email work"><br>
  <input autocomplete="work shipping email"><br>
  <input autocomplete="work email shipping"><br>
  <input autocomplete="email shipping work"><br>
  <input autocomplete="email work shipping"><br>
  <input autocomplete="section-foo email work"><br>
  <input autocomplete="work section-foo email"><br>
  <input autocomplete="work email section-foo"><br>
  <input autocomplete="email section-foo work"><br>
  <input autocomplete="email work section-foo"><br>
  <input autocomplete="shipping section-foo email"><br>
  <input autocomplete="shipping email section-foo"><br>
  <input autocomplete="section-foo email shipping"><br>
  <input autocomplete="email shipping section-foo"><br>
  <input autocomplete="email section-foo shipping"><br>
  <input autocomplete="section-foo work email shipping"><br>
  <input autocomplete="section-foo work shipping email"><br>
  <input autocomplete="section-foo email shipping work"><br>
  <input autocomplete="section-foo email work shipping"><br>
  <input autocomplete="section-foo shipping email work"><br>
  <input autocomplete="shipping email section-foo work"><br>
  <input autocomplete="shipping email work section-foo"><br>
  <input autocomplete="shipping section-foo email work"><br>
  <input autocomplete="shipping section-foo work email"><br>
  <input autocomplete="shipping work email section-foo"><br>
  <input autocomplete="shipping work section-foo email"><br>
  <input autocomplete="work email section-foo shipping"><br>
  <input autocomplete="work email shipping section-foo"><br>
  <input autocomplete="work section-foo email shipping"><br>
  <input autocomplete="work section-foo shipping email"><br>
  <input autocomplete="work shipping email section-foo"><br>
  <input autocomplete="work shipping section-foo email"><br>
  <input autocomplete="email section-foo shipping work"><br>
  <input autocomplete="email section-foo work shipping"><br>
  <input autocomplete="email shipping section-foo work"><br>
  <input autocomplete="email shipping work section-foo"><br>
  <input autocomplete="email work section-foo shipping"><br>
  <input autocomplete="email work shipping section-foo"><br>
  <!-- Valid field (sanity check) -->
  <input id="valid-pre-repetition" autocomplete="email"><br>
  <!-- Repeated fields should be disallowed. -->
  <input autocomplete="email email"><br>
  <input autocomplete="work work email"><br>
  <input autocomplete="work home email"><br>
  <input autocomplete="shipping billing email"><br>
  <input autocomplete="section-foo section-bar email"><br>
  <!-- Valid field (sanity check) -->
  <input id="valid-pre-combinations" autocomplete="email"><br>
  <!-- Some combinations of tokens are invalid. -->
  <input autocomplete="on email"><br>
  <input autocomplete="off email"><br>
  <input autocomplete="work given-name"><br>
  <input autocomplete="work address-line1"><br>
</form>
